      <div class="main_menu">
        <ul id="menu">
          <li><%=link_to "Home", root_path %> </li>
          <% if user_signed_in? %>
            <li>
              <%= link_to('Logout', destroy_user_session_path) %>
            </li>
          <% else %>
            <li>
              <%= link_to('Login', new_user_session_path)  %>
            </li>
          <% end %>

          <% if user_signed_in? %>
            <li>
              <%= link_to('Edit registration', edit_user_registration_path) %>
            </li>
          <% else %>
            <li>
              <%= link_to('Register', new_user_registration_path)  %>
            </li>
          <% end %>

        </ul>
      </div>